function getPostData() {
	var style = $("#style").val();
	var data = new Array();
	var result = 'tagName=' + namespace;
	if (style == "simImage") {
		data['image'] = new Array();
		$('.userInput').each(function() {
			var value = $(this).val().replace(/&/g, "[@]");
			data['image'][$(this).attr('rel')] = value;
		})
		for (one in data['image']) {
			result += '&image[image][' + one + ']' + "=" + data['image'][one];
		}
	}
	var postName;
	$('.userInput').each(function() {
		var tempClass = $(this).attr('class');
		tempClass = tempClass.split(' ');
		if (typeof (data[tempClass[0]]) == "object") {
			data[tempClass[0]][$(this).attr('rel')] = $(this).val();
		} else {
			data[tempClass[0]] = new Array();
			data[tempClass[0]][$(this).attr('rel')] = $(this).val();
		}
	})

	var tempParam = new Array();
	var result;
	$('.param_post').each(function() {
		if ($(this).attr('type') == "radio") {
			if ($(this).attr('checked')) {
				var postKey = 'PARAM_' + $(this).attr('name');
			} else {
				return true;
			}
		} else {
			var postKey = 'PARAM_' + $(this).attr('id');
		}
		var value = $(this).val().replace(/&/g, "[@]");
		tempParam[postKey] = value;
	});
	for ( var i in tempParam) {
		result += '&' + i + '=' + tempParam[i];
	}

	for (one in data) {
		postName = "image[" + one + "]";
		for (sub in data[one]) {
			result += '&' + postName + '[' + sub + ']' + "=" + data[one][sub];
		}
	}

	result += '&PARAM_style=' + style;
	return result;
	
}